#include "mainwindow.h"
#include "./ui_mainwindow.h"
#include"mythread.h"
MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    MyThread*t1= new MyThread(this);
    MyThread*t2= new MyThread(this);
    t1->start();
    t2->start();
}

MainWindow::~MainWindow()
{
    delete ui;
}
